const expect=require('chai').expect;

describe('include',()=>{
    it('array',()=>{
        expect([1,2,3]).to.include(3);
    });

    it('array-多个值',()=>{
        expect([1,2,3]).to.include(1,5);
    });

    it('string',()=>{
        expect('hello').to.include('he');
    });

});

describe('contains',()=>{ 
    it('array',()=>{
        expect([1,2,3]).to.contains(3);
    });

    it('array-多个值',()=>{
        expect([1,2,3]).to.contains(3,5);
    });

    it('string',()=>{
        expect('hello').to.contains('he');
    });

});